package myky.com.doctorapp.utils;


import myky.com.doctorapp.base.CMApplication;

/**
 * Description: String常量工具类
 *
 * @author wuyang
 * Created by 2019/1/8 15:42
 */
public class Constants {



    /**
     * 业务ID
     */
    //医生id
    public static final String DOCTORID = "doctorId";
    //远程id
    public static final String REMOTEID = "_remoteId";
    //咨询id
    public static final String CONSULTID = "_consultId";
    //预约id
    public static final String APPOINTMENTID = "_appointment";

    /**
     * 当前版本
     */
    public static final String CURRENTVERSION = "v1.0";
    /**
     * 默认list长度
     */
    public static final String DEFAULTSIZE = "10";

    //跳转类型
    public static final String INTENTTYPE = "_intentType";
    //跳转类型值
    public static final int INTENTCODE = 100;
    //跳转类型携带带对象
    public static final String INTENTENTITY = "_intentEntity";
    //跳转带返回值的
    public static final String RESULTDATE = "_resultDate";
    /**
     * 用户名和密码
     */
    public static final String USERNAME = "_username";
    public static final String PASSWORD = "_password";
    /**
     * 手机号码+验证码登录
     */
    public static final String SMSKEY = "_smsKey";
    public static final String SMSCODE = "_smsCode";
    public static final String USERPHONE = "_userPhone";
    /**
     * 是否登录成功
     */
    public static final String ISLOGIN = "_isLogin";

    public static final int LOGINCODE = 106;

    public static final String TEAMID="TEAMID";


    public static final String INTENT_TYPE="INTENT_TYPE";//跳转类型
    /**
     * 远程上传界面跳转类型
     */
    public static final int INTENT_TYPE_NICKNAME=1;//远程选择疾病名称
    public static final int INTENT_TYPE_VISITS=2;//远程选择诊次
    public static final int INTENT_TYPE_ISKNOW=3;//远程患者是否知情
    public static final int INTENT_TYPE_DATA=4;//远程选择资料

    public static final String DOCTORIDKEY="DOCTORIDKEY";



    public static final String DISSESNAME="DISSESNAME";
    public static final String DISSESID="DISSESID";



    /**
     * 远程问诊提交跳转类型
     */
    public static final String DISEASETYPE = "_diseaseType";
    public static final String HEALTHTYPE = "_healthType";
    public static final String VISITTYPE = "_visitType";
    public static final String ISKONOWTYPE = "_iskonowType";

    /**
     * 拍照上传类型和浏览类型
     */
    /**
     * 已上传的图片类型，可以删除照片和日期更新操作
     */
    public static final  int IMG_CASE_LIST=1;
    /**
     *   常规上传图片操作
     */

    public static final  int IMG_CASE_PHOTO=0;
    /**
     * 预约上传图片操作
     */
    public static final  int IMG_BESPEAK_PHOTO=4;
    /**
     * 专家咨询上传图片操作
     */
    public static final  int IMG_CONSULT_PHOTO=3;
    /**
     * 预约门诊图片预览类型
     */
    public static final  int IMG_BESPEAK_LIST=5;
    /**
     * 已上传的图片类型，不能操作上传更新
     */
    public static final  int NEW_CONSULT_COMPLETE_PHOTO_TYPE=2;


    /**
     * 选择照片类型
     */

    /**
     * 从我的病历
     */
    public static final int CASE_MEDICALRECORD=1;
    /**
     * 相机拍照
     */
    public static final int TAKE_CAMERA=2;
    /**
     * 相册
     */
    public static final int TAKE_ALBUM=3;


    public static final String USERID="USERID";

    /**
     * 图片路径
     */
    public static final String IMAGEPATH ="_imagePath";

    /**
     * 图片集合
     */
    public static final String IMAGELIST ="_imageList";

    /**
     * H5
     */
    public static final  String WEBURL="WEBURL";
    public static final  String TAGID="TAGID";

    /**
     * title
     */
    public static final  String TITLE_H5="TITLE_H5";


    /**
     * 选择照片类型
     */
    public static final int CASE_TYPE=1;//从我的病历
    public static final int TAKE_TYPE=2;//相机拍照
    public static final int PHOTO_TYPE=3;//相册



    public static final String HELPTEXTINDEX="101";//


    public static final String HELPINDEX="102";//相册
    public static final String HELPTITITLEINDEX="103";//相册







    /**
     * 健康档案集合
     */
    public static final String HEALTHELIST ="_healthList";


    /**
     * 日志输出开关
     * */

    public static final boolean SHOWLOG= CMApplication.showLog;
}
